﻿@model IEnumerable<string>
<div data-role="navbar">
    <ul>
        @foreach (var link in Model)
        {
            <li>
                @Html.RouteLink(link, new
               {
                   Controller = "Product",
                   action = "List",
                   category = link,
                   page = 1
               }, new
               {data_transition="fade", @class = (link == ViewBag.SelectedCategory ? "ui-btn-action" : null)
               })               
            </li>
        }
    </ul>
</div>



